#include "client_global.h"
#include <curl/curl.h>

using namespace bhttp;

client_global::client_global()
{
    if (CURLE_OK != curl_global_init(CURL_GLOBAL_DEFAULT))
    {
        fprintf(stderr, "error caught in curl_global_init\n");
        abort();
    }
}

client_global::~client_global()
{
    curl_global_cleanup();
}
